package com.sniff.atp.constant.config;

import com.sniff.atp.dto.MySqlDTO;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.HashMap;
import java.util.Map;

@Configuration
@ConfigurationProperties(prefix = "sniff")
@Data
public class DBConfig {
    private Map<String, MySqlDTO> datasource = new HashMap<>();
}
